package com.qimo.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class HistoryOrder {
   int historyOrderId,userId,itemId,Number,shopId,Status;
   double Price,itemPrice;
   @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
   Date createDate,historyDate;
   String itemName,shopName,itemImage;

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        this.Status = status;
    }

    public String getItemImage() {
        return itemImage;
    }

    public void setItemImage(String itemImage) {
        this.itemImage = itemImage;
    }

    public int getHistoryOrderId() {
        return historyOrderId;
    }

    public void setHistoryOrderId(int historyOrderId) {
        this.historyOrderId = historyOrderId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getNumber() {
        return Number;
    }

    public void setNumber(int number) {
        Number = number;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public double getPrice() {
        return Price;
    }

    public void setPrice(double price) {
        Price = price;
    }

    public double getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(double itemPrice) {
        this.itemPrice = itemPrice;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getHistoryDate() {
        return historyDate;
    }

    public void setHistoryDate(Date historyDate) {
        this.historyDate = historyDate;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Override
    public String toString() {
        return "HistoryOrder{" +
                "historyOrderId=" + historyOrderId +
                ", userId=" + userId +
                ", itemId=" + itemId +
                ", Number=" + Number +
                ", shopId=" + shopId +
                ", status=" + Status +
                ", Price=" + Price +
                ", itemPrice=" + itemPrice +
                ", createDate=" + createDate +
                ", historyDate=" + historyDate +
                ", itemName='" + itemName + '\'' +
                ", shopName='" + shopName + '\'' +
                ", itemImage='" + itemImage + '\'' +
                '}';
    }
}
